﻿.b-table.table {
    position: relative;

    .b-table-resizer {
        position: absolute;
        top: 0;
        right: 0;
        width: 5px;
        cursor: col-resize;
        user-select: none;
        z-index: 1;
    }

    .b-table-resizer:hover, .b-table-resizing {
        cursor: col-resize !important;
        border-right: 2px solid var(--b-theme-primary, blue);
    }

    .b-table-resizing {
        cursor: col-resize !important;
    }

    .b-table-reordering {
        position: relative;
        z-index: 1;

        &.b-table-reordering-start {
            &::before {
                content: "";
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                height: 100%;
                border-left: 2px solid var(--b-theme-primary, blue);
                pointer-events: none;
            }
        }

        &.b-table-reordering-end {
            &::after {
                content: "";
                position: absolute;
                top: 0;
                bottom: 0;
                right: 0;
                height: 100%;
                border-right: 2px solid var(--b-theme-primary, blue);
                pointer-events: none;
            }
        }
    }
}

//For low specificity
thead {
    tr th {
        position: relative;
    }
}
